package com.kingyun.gpsinspection.purificationservice.facade.model.iam.qhse;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;
import java.util.Date;

/**
 * 危害因素
 */
public class Hazard extends BootstrapSearchBean implements Serializable {
    private String hazardId;

    private String orgId;

    private String entityId;//生产实体

    private String cellId;//操作单元

    private String problemType;//问题类型

    private Short elementType;//要素类型

    private Short category;//危害类别

    private String sourceObject;//产品、活动或服务

    private String hazardFactor;//主要危害因素

    private String reasonAnalysis;//原因分析

    private String accidentAnalysis;//潜在事故分析

    private String controlMeasure;//控制措施

    private String descriptions;//描述

    private String createUserId;//创建人

    private Date createTime;//创建时间

    private String modifyUserId;//修改人

    private Date modifyTime;//修改时间

    private String remark;//备注

    private Short isDelete;//是否删除

    //填充字段
    private String orgName;//
    private String createUserName;
    private String modifyUserName;
    //危害因素标识 HAZARD_IDENTIFICATION_ID
    private String hazardIdentificationId;
    private String entityName;//生产实体名称
    private String cellName;//操作单元名称
    private String startTime;//
    private  String endTime;//
    public String getHazardId() {
        return hazardId;
    }

    public void setHazardId(String hazardId) {
        this.hazardId = hazardId == null ? null : hazardId.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId;
    }

    public String getCellId() {
        return cellId;
    }

    public void setCellId(String cellId) {
        this.cellId = cellId == null ? null : cellId.trim();
    }

    public String getProblemType() {
        return problemType;
    }

    public void setProblemType(String problemType) {
        this.problemType = problemType == null ? null : problemType.trim();
    }

    public Short getElementType() {
        return elementType;
    }

    public void setElementType(Short elementType) {
        this.elementType = elementType;
    }

    public Short getCategory() {
        return category;
    }

    public void setCategory(Short category) {
        this.category = category;
    }

    public String getSourceObject() {
        return sourceObject;
    }

    public void setSourceObject(String sourceObject) {
        this.sourceObject = sourceObject == null ? null : sourceObject.trim();
    }

    public String getHazardFactor() {
        return hazardFactor;
    }

    public void setHazardFactor(String hazardFactor) {
        this.hazardFactor = hazardFactor == null ? null : hazardFactor.trim();
    }

    public String getReasonAnalysis() {
        return reasonAnalysis;
    }

    public void setReasonAnalysis(String reasonAnalysis) {
        this.reasonAnalysis = reasonAnalysis == null ? null : reasonAnalysis.trim();
    }

    public String getAccidentAnalysis() {
        return accidentAnalysis;
    }

    public void setAccidentAnalysis(String accidentAnalysis) {
        this.accidentAnalysis = accidentAnalysis == null ? null : accidentAnalysis.trim();
    }

    public String getControlMeasure() {
        return controlMeasure;
    }

    public void setControlMeasure(String controlMeasure) {
        this.controlMeasure = controlMeasure == null ? null : controlMeasure.trim();
    }

    public String getDescriptions() {
        return descriptions;
    }

    public void setDescriptions(String descriptions) {
        this.descriptions = descriptions == null ? null : descriptions.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(String modifyUserId) {
        this.modifyUserId = modifyUserId == null ? null : modifyUserId.trim();
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Short getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Short isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getModifyUserName() {
        return modifyUserName;
    }

    public void setModifyUserName(String modifyUserName) {
        this.modifyUserName = modifyUserName;
    }

    public String getHazardIdentificationId() {
        return hazardIdentificationId;
    }

    public void setHazardIdentificationId(String hazardIdentificationId) {
        this.hazardIdentificationId = hazardIdentificationId;
    }

    public String getCellName() {
        return cellName;
    }

    public void setCellName(String cellName) {
        this.cellName = cellName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }
}